-- card: 13249 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4755 -- name: -- part contents for background part 4 ----- text ----- void set(void); void print(void); As mentioned above, class definitions in TC may declare what methods are members of the class. This declaration for the set() method is a little different from the one used in the beginning of this chapter*. In C, all procedures are functions, which may RETURN a value upon completion. If we wish to declare a function which does not return a value, we say it returns 'void'. The declaration for the set() method also indicates that this function has no ARGUMENTS; i.e., a void argument. It is good practice to explicitly state the types of values accepted by and returned by C functions, to allow the compiler to enforce type-checking. -- part contents for background part 7 ----- text ----- 24 -- part contents for background part 29 ----- text ----- 7205 -- part contents for background part 27 ----- text ----- Previous declaration -- part contents for background part 20 ----- text ----- Previous declaration - p13